<script setup>
const props = defineProps({
  label: String,
});
</script>

<template>
  <div class="my-label">
    <div class="label">{{ label }}</div>
    <div class="content">
      <slot></slot>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.my-label {
  display: flex;
  gap: 5px;
  .label {
    font-size: 16px;
    font-weight: 700;
  }
}
</style>
